QT += multimedia multimediawidgets
QT += core gui
Qt += network
QT += core

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    easylogging++.cc \
    formvideo.cpp \
    formwelcom.cpp \
    main.cpp \
    mainwindow.cpp \
    mythread.cpp \
    uimgr.cpp

HEADERS += \
    ../ArcSoft_ArcFace_Windows_x64_V2.2/inc/amcomdef.h \
    ../ArcSoft_ArcFace_Windows_x64_V2.2/inc/arcsoft_face_sdk.h \
    ../ArcSoft_ArcFace_Windows_x64_V2.2/inc/asvloffscreen.h \
    ../ArcSoft_ArcFace_Windows_x64_V2.2/inc/merror.h \
    DataType.h \
    DataType.h \
    DecodeCardSdk.h \
    DecodeCardSdk.h \
    HCNetSDK.h \
    HCNetSDK.h \
    easylogging++.h \
    formvideo.h \
    formwelcom.h \
    mainwindow.h \
    moc_predefs.h \
    mythread.h \
    plaympeg4.h \
    plaympeg4.h \
    uimgr.h

FORMS += \
    formvideo.ui \
    formwelcom.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resource.qrc

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../opencv/build/x64/vc15/lib/ -lopencv_world3416
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../opencv/build/x64/vc15/lib/ -lopencv_world3416d

INCLUDEPATH += $$PWD/../../../opencv/build/include
DEPENDPATH += $$PWD/../../../opencv/build/include


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../ArcSoft_ArcFace_Windows_x64_V2.2/lib/X64/ -llibarcsoft_face_engine
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../ArcSoft_ArcFace_Windows_x64_V2.2/lib/X64/ -llibarcsoft_face_engined

INCLUDEPATH += $$PWD/../ArcSoft_ArcFace_Windows_x64_V2.2/inc
DEPENDPATH += $$PWD/../ArcSoft_ArcFace_Windows_x64_V2.2/inc
